package com.showgood.controller 
{
	import com.showgood.config.SangoConst;
	import com.showgood.core.AbstractSimpleCommand;
	import com.showgood.socket.ArraySocketCommand;
	import com.showgood.vo.ArmyVO;
	import org.puremvc.as3.interfaces.INotification;
	
	/**
	 * 处理部队
	 * @author BianPeng
	 */
	public class ReplyArmyListCommand extends AbstractSimpleCommand {
		
		public function ReplyArmyListCommand() {
			super();
		}
		override public function execute(notify:INotification):void {
			var cmd:ArraySocketCommand = notify.getBody() as ArraySocketCommand;
			//var armyList:Vector.<ArmyVO> = cmd.data as Vector.<ArmyVO>;
			//_logger.info(army);
			sendNotification(SangoConst.SHOW_ARMY_ON_SCREEN, cmd.data);
		}
	}
}
